package com.lagou.homework.game

class User {
  var name: String = _
  var score: Int = _

  def showFist(choose: Int): Unit = {
    choose match {
      case 1 => println("你出拳:剪刀")
      case 2 => println("你出拳:石头")
      case 3 => println("你出拳:布")
      case _ => println("输入不符合规范，默认出布！")
    }
  }
}
